package uk.ac.shef.ecomm;

import java.sql.Date;

public class TimeSlot 
{
	protected Project pr;
	protected Participant pt;
	protected Date date;
	protected int hour;
	protected String status;
	public final String FREE = "free";
	public final String BUSY = "busy";
	
	/**
	 * 
	 * @param stage used to setup initial state for TimeSlot
	 * if stage is ZERO then setup free time slot with no participants
	 */
	
	
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public int getHour() {
		return hour;
	}
	public void setHour(int hour) {
		this.hour = hour;
	}
	public Project getPr() {
		return pr;
	}
	public void setPr(Project pr) {
		this.pr = pr;
	}
	public Participant getPt() {
		return pt;
	}
	public void setPt(Participant pt) {
		this.pt = pt;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
	

}
